﻿/************************************************************************************
 *      Copyright (C) 2018 dawenyang,All Rights Reserved
 *      File:
 *                CookieConst.cs
 *      Description:
 *            cookie相关的硬编码
 *      Author:
 *                Yangxianwen
 *                
 *                
 *      Finish DateTime:
 *                2018年01月11日
 *      History:
 ***********************************************************************************/

namespace FrameWork.Common.Const
{
    /// <summary>
    /// cookie常量
    /// </summary>
    public class CookieConst
    {
        /// <summary>
        /// cookie登录后存储用户信息key
        /// </summary>
        public const string CookieLoginKey = "huikaoba_login_error";

        /// <summary>
        /// 登录信息失效值
        /// </summary>
        public const string CookieLoginOverDue = "overdue";

        /// <summary>
        /// 登录信息保存时间
        /// </summary>
        public const int CookieLoginOverMinutes = 2;

        /// <summary>
        /// 登录信息失效后默认跳转地址：登录页
        /// </summary>
        public const string CookieLoginDefaultUrl = "~/Account/Auth/Login";
    }
}
